Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfGraphics Class / DrawForm Method / DrawForm(FormXObject,RectangleF,Nullable<RectangleF>,ImageAlign,RectangleF[]) Method
The GrapeCity.Documents.Pdf.Graphics.FormXObject to draw.
The destination rectangle.
The clipping rectangle, or null for no clipping.
The image alignment.
OUT: The actual bounds of the drawn image(s) (can be more than one if the image is tiled).

In This Topic
    DrawForm(FormXObject,RectangleF,Nullable<RectangleF>,ImageAlign,RectangleF[]) Method
    In This Topic
    Draws a GrapeCity.Documents.Pdf.Graphics.FormXObject using specified bounds and image alignment.

    The output parameter imageBounds receives the actual bounds of the drawn object(s).

    Syntax
    'Declaration
     
    Public Overloads Sub DrawForm( _
       ByVal fxo As FormXObject, _
       ByVal destBounds As System.Drawing.RectangleF, _
       ByVal clipBounds As System.Nullable(Of RectangleF), _
       ByVal align As ImageAlign, _
       ByRef imageBounds() As System.Drawing.RectangleF _
    ) 
    public void DrawForm( 
       FormXObject fxo,
       System.Drawing.RectangleF destBounds,
       System.Nullable<RectangleF> clipBounds,
       ImageAlign align,
       out System.Drawing.RectangleF[] imageBounds
    )

    Parameters

    fxo
    The GrapeCity.Documents.Pdf.Graphics.FormXObject to draw.
    destBounds
    The destination rectangle.
    clipBounds
    The clipping rectangle, or null for no clipping.
    align
    The image alignment.
    imageBounds
    OUT: The actual bounds of the drawn image(s) (can be more than one if the image is tiled).
    See Also